package itheima.zuoye.Test5;

public class Film {
    private String name;
    private double score;

    public Film(String name, double score) {
        this.name = name;
        this.score = score;
    }

    @Override
    public String toString() {
        return "Film{" +
                "name='" + name + '\'' +
                ", score=" + score +
                '}';
    }
}

